namespace RMM.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class update_area : DbMigration
    {
        public override void Up()
        {
            AddColumn("dbo.Area", "status", c => c.Boolean(nullable: false));
            AlterColumn("dbo.Area", "CodeID", c => c.Int(nullable: false));
            AlterColumn("dbo.Area", "ParentID", c => c.Int(nullable: false));
        }
        
        public override void Down()
        {
            AlterColumn("dbo.Area", "ParentID", c => c.String());
            AlterColumn("dbo.Area", "CodeID", c => c.String());
            DropColumn("dbo.Area", "status");
        }
    }
}
